<%@ page language="java" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/faare" prefix="fa" %>

<HTML>
    <HEAD>
        <TITLE>OPIAM Admin - Tutorial Application</TITLE>
        <LINK rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/standard.css" />
    </HEAD>
<!-- ####### Comments ####### -->
<%!
  // Comments to explain the code
  String codeComment = "&#60;html:errors/&#62;";

  String menuComment = "&#60;TABLE&nbsp;cellpadding=&#34;0&#34;&nbsp;cellspacing=&#34;0&#34;&nbsp;width=&#34;100%&#34;&nbsp;border=&#34;0&#34;&nbsp;summary=&#34;Top&nbsp;menu&nbsp;icons&#34;&#62;"
                     + "\n&#60;TR&#62;\n&nbsp;&nbsp;&nbsp;"
                     + "&#60;fa:getMenu&nbsp;id=&#34;menu&#34;&nbsp;name=&#34;horizontal_menu&#34;&nbsp;/&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;"
                     + "&#60;logic:iterate&nbsp;id=&#34;elt&#34;&nbsp;name=&#34;menu&#34;&nbsp;property=&#34;elements&#34;&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
                     + "&#60;TD&#62;&#60;IMG&nbsp;src=&#34;<&#37;=request.getContextPath()&#37;>/images/spacer.gif&#34;&nbsp;width=&#34;24&#34;&nbsp;height=&#34;1&#34;&nbsp;alt=&#34;&#34;&nbsp;border=&#34;0&#34;&#62;&#60;/TD&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
                     + "&#60;TD&nbsp;align=&#34;center&#34;&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
                     + "&#60;fa:showMenuElement&nbsp;name=&#34;elt&#34;&nbsp;style=&#34;&#34;&nbsp;/&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
                     + "&#60;/TD&#62;"
                     + "\n&nbsp;&nbsp;&nbsp;"
                     + "&#60;/logic:iterate&#62;"
                     + "\n"
                     + "&#60;/TR&#62;"
                     + "\n"
                     + "&#60;/TABLE&#62;"
                     + "\n...\n"
                     + "&#60;html:link&nbsp;action=&#34;/showPerson&#34;&nbsp;paramId=&#34;dn&#34;&nbsp;paramName=&#34;user&#34;&nbsp;paramProperty=&#34;dn&#34;&#62;"
                     + "\n"
                     + "&nbsp;&nbsp;&nbsp;&#60;bean:write&nbsp;name=&#34;user&#34;&nbsp;property=&#34;commonName&#34;&nbsp;/&#62;"
                     + "\n"
                     + "&#60;/html:link&#62;";

%>

    <BODY style="margin: 0; overflow: auto;" bgcolor="#ffffff">
    <TABLE cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" summary="Search" class="body">
    <TR>
        <TD width="275" height="65">
        <TABLE cellpadding="0" cellspacing="0" border="0" summary="Logo" class="body">
            <TR>
                <TD>
                   <IMG src="<%=request.getContextPath()%>/images/logo.jpg" width="208" height="65">
                </TD>
            <TR>
        </TABLE>
        </TD>
        <TD>
        <TABLE cellpadding="0" cellspacing="0" border="0" width="100%" summary="Menu and body" class="body">
            <TR class="background">
                <TD><IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="45" border="0" alt=""></TD>
                <TD width="100%">
                    <TABLE cellpadding="0" cellspacing="0" width="100%" border="0" summary="Top menu icons">
                        <TR>
                            <fa:getMenu id="menu" name="horizontal_menu" />
                            <logic:iterate id="elt" name="menu" property="elements">
                               <TD><IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="24" height="1" alt="" border="0"></TD>
                               <TD align="center">
                                   <fa:showMenuElement name="elt" style="" />
                               </TD>
                            </logic:iterate>
                        </TR>
                    </TABLE>
                </TD>
                <TD align="center" nowrap class="text_org_chart_user">
                    &nbsp;&nbsp;&nbsp;<B>
                      <html:link action="/showPerson" paramId="dn" paramName="user" paramProperty="dn">
                          <bean:write name="user" property="commonName" />
					  </html:link>
                    </B>&nbsp;&nbsp;&nbsp;<BR/>
                    <IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="8" border="0" alt=""><BR/>
                </TD>
                <!-- ####### Menu informations ####### -->
                <TD align="right" nowrap class="text_org_chart_user">
                    <BR/>
                    <img src="<%=request.getContextPath()%>/images/info.gif" width="24" height="24"
                     alt="Code Information"
                     title="<%=menuComment%>" />
                     <IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="6" height="8" border="0" alt="">
                </TD>
            </TR>
            <TR style="background-image: url('<%=request.getContextPath()%>/images/top_background_01.gif');">
                <TD><IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="20" border="0" alt=""></TD>
                <TD width="100%" valign="middle"></TD>
                <TD width="100%" valign="middle"></TD>
                <TD width="100%" valign="middle"></TD>
            </TR>
        </TABLE>
        </TD>
   </TR>
   <TR>
        <TD  width="275" height="100%" style="margin-left: 10; margin-top:10; overflow: auto;" bgcolor="#f5f5f5">
        <!-- ####### Page informations ####### -->
        <TABLE cellpadding="0" cellspacing="0" border="6" width="100%" summary="Application tree" class="body"
                bordercolorlight="#4682b4" bordercolordark="#99CCFF">
            <TR><TH colspan="2">Comments</TH></TR>
            <TR><TD>
                <TABLE cellpadding="0" cellspacing="0" border="0" width="100%" class="body">
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
        	    <TR>
            	    <TD colspan="2">Description&nbsp;:&nbsp;</TD>
            	</TR>
                <TR>
	                <TD>&nbsp;</TD><TD class="code">&nbsp;&nbsp;This is the error page of the application...</TD>
                </TR>
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
        	    <TR>
            	    <TD colspan="2">Page&nbsp;:&nbsp;</TD>
            	</TR>
                <TR>
	                <TD>&nbsp;</TD><TD class="code">-&nbsp;error.jsp</TD>
                </TR>
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
	            <TR>
    	            <TD colspan="2">Action Class&nbsp;:&nbsp;</TD>
        	    </TR>
            	<TR>
	                <TD>&nbsp;</TD><TD class="code">&nbsp;</TD>
    	        </TR>
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
        	    <TR>
            	    <TD colspan="2">Form-Bean&nbsp;:&nbsp;</TD>
            	</TR>
                <TR>
	                <TD>&nbsp;</TD><TD class="code">&nbsp;</TD>
                </TR>
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
	            <TR>
    	            <TD colspan="2">Taglibs&nbsp;:&nbsp;</TD>
        	    </TR>
	            <TR>
    	            <TD>&nbsp;</TD>
                    <TD colspan="2" class="code">
                        -&nbsp;&#60;&#37;@&nbsp;taglib&nbsp;uri=&#34;/tags/struts-bean&#34; prefix=&#34;bean&#34;&nbsp;&#37;&#62;<BR/>
                        <IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="4" border="0" alt=""><BR/>
                        -&nbsp;&#60;&#37;@&nbsp;taglib&nbsp;uri=&#34;/tags/struts-logic&#34; prefix=&#34;logic&#34;&nbsp;&#37;&#62;<BR/>
                        <IMG src="<%=request.getContextPath()%>/images/spacer.gif" width="1" height="4" border="0" alt=""><BR/>
                        -&nbsp;&#60;&#37;@&nbsp;taglib&nbsp;uri=&#34;/tags/faare&#34; prefix=&#34;fa&#34;&nbsp;&#37;&#62;
                    </TD>
        	    </TR>
                <TR>
	                <TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    	        </TR>
                </TABLE>
                </TD>
           </TR>
        </TABLE>
        </TD>
        <TD height="100%">
        <TABLE cellpadding="0" cellspacing="20" border="0" align="center" width="100%" summary="Body" class="body">
            <TR><TD valign="top">
                    <TABLE cellpadding="0" cellspacing="0" border="0" width="60%" align="center" summary="Body" class="body">
                        <TR><TD width="100%">
                                <TABLE cellpadding="0" cellspacing="0" border="0" summary="bottom" align="center">
                                    <TR><TD><IMG src="./images/top_left_selected.gif" width="6" height="6" alt=""></TD>
                                        <TD class="background" width="100%"><IMG src="./images/spacer.gif" width="100" height="1" alt=""></TD>
                                        <TD><IMG src="./images/top_right_selected.gif" width="6" height="6" alt=""></TD>
                                    </TR>
                                </TABLE>
                            </TD>
                        </TR>
                        <TR><TD class="background">
                                <DIV style="margin-left: 15;">
                                    <DIV class="white_title" style="margin-top: 10;">Error</DIV>
                                    <DIV><IMG src="./images/spacer.gif" width="1" height="15" alt=""></DIV>
                                    <TABLE cellpadding="0" cellspacing="0" border="0" summary="Quick search" align="center" class="body" width="100%">
                                        <TR><TD><IMG src="./images/error.gif" alt="Error indication"></TD>
                                            <TD><html:errors/></TD>
                                        </TR>
                                    </TABLE>
                                    <BR/>
                                </DIV>
                                <!-- ####### Code informations ####### -->
                                <DIV class="white_title" style="margin-right: 10;" align="right">
                                    <img src="<%=request.getContextPath()%>/images/info.gif" width="24" height="24"
                                         alt="Code Information"
                                         title="<%=codeComment%>" />
                                </DIV>
                            </TD>
                        </TR>
                        <TR><TD><TABLE cellpadding="0" cellspacing="0" border="0" summary="bottom" align="center">
                                    <TR><TD><IMG src="./images/bottom_left_selected.gif" width="6" height="6" alt=""></TD>
                                        <TD class="background" width="100%"><IMG src="./images/spacer.gif" width="100" height="1" alt=""></TD>
                                        <TD><IMG src="./images/bottom_right_selected.gif" width="6" height="6" alt=""></TD>
                                    </TR>
                                </TABLE>
                            </TD>
                        </TR>
                    </TABLE>
                </TD>
                <TD valign="top" width="200">
                    <BR/>
                </TD>
            </TR>
        </TABLE>
        </TD>
    </TR>
    </TABLE>

    </BODY>
</HTML>
